/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:wght@400;500;600;700&display=swap');

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Smooth Scrolling Enhancement */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px; /* Account for fixed navbar */
}

/* Enhanced smooth scrolling for all browsers */
@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }
    
    * {
        scroll-behavior: smooth;
    }
}

/* Smooth scrolling fallback for older browsers */
body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #2d3748;
    background: #ffffff;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch; /* iOS smooth scrolling */
    scroll-snap-type: y proximity; /* Snap scrolling for better UX */
    /* Performance optimizations */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeSpeed;
}

body {
    position: relative;
    width: 100%;
    max-width: 100vw;
}

/* Enhanced scrolling performance */
.section, section, .hero, .about, .services, .team, .gallery, .events, .contact {
    scroll-snap-align: start;
    scroll-margin-top: 100px;
}

/* Prevent horizontal scroll without breaking position: fixed */
body, html {
    width: 100%;
    overflow-x: clip;
}

@supports not (overflow: clip) {
    body, html {
        overflow-x: hidden;
    }
}

/* Mobile Touch Feedback - Global Button Styles */
@media (hover: none) and (pointer: coarse) {
    button, .btn, a.btn, [class*='-btn'] {
        -webkit-tap-highlight-color: rgba(68, 140, 127, 0.2);
        touch-action: manipulation;
    }
    
    button:active, .btn:active, a.btn:active, [class*='-btn']:active {
        transform: scale(0.97);
        transition: transform 0.1s ease;
    }
}

/* Hero gets special treatment */
.hero {
    scroll-margin-top: 0;
}

/* Optimize scroll performance */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
    overflow-anchor: auto; /* Prevent scroll anchoring issues */
}

/* Better momentum scrolling on touch devices */
body, html {
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: smooth;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Modern Navigation Bar */
.navbar {
    position: fixed !important;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    background: #ffffff;
    z-index: 1000;
    padding: 0.8rem 0;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.navbar.scrolled {
    padding: 0.5rem 0;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.12);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.logo-img {
    height: 32px;
    width: auto;
    transition: all 0.3s ease;
}

.logo-img:hover {
    transform: scale(1.05);
}

.nav-logo h2 {
    background: linear-gradient(135deg, #448c7f, #52a08f);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 1.6rem;
    font-weight: 700;
    font-family: 'Playfair Display', serif;
    letter-spacing: -0.5px;
    margin: 0;
}

.nav-logo h2 a {
    background: linear-gradient(135deg, #448c7f, #52a08f);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: all 0.3s ease;
}

.nav-logo h2 a:hover {
    background: linear-gradient(135deg, #367863, #448c7f);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    background: #f8f9fa;
    padding: 0.5rem;
    border-radius: 50px;
    box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.05);
}

.nav-link {
    text-decoration: none;
    color: #6b7280;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    padding: 0.65rem 1.2rem;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

/* Ensure all navigation links have consistent color */
.nav-link,
.nav-link:link,
.nav-link:visited {
    color: #6b7280;
}

/* Active/Current page styling */
.nav-link.active {
    background: #448c7f;
    color: white !important;
    box-shadow: 0 4px 12px rgba(68, 140, 127, 0.3);
}

/* Hover state */
.nav-link:hover:not(.active) {
    color: #448c7f;
    background: rgba(68, 140, 127, 0.1);
    transform: translateY(-2px);
}

/* Remove the bottom border effect */
.nav-link::after {
    display: none;
}

/* CTA Button styling */
.nav-link.cta {
    background: linear-gradient(135deg, #448c7f 0%, #52a08f 100%);
    color: white !important;
    margin-left: 0.5rem;
    font-weight: 600;
}

.nav-link.cta:hover {
    background: linear-gradient(135deg, #367863 0%, #448c7f 100%);
    box-shadow: 0 6px 20px rgba(68, 140, 127, 0.4);
    transform: translateY(-3px);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    z-index: 1001;
}

.bar {
    width: 28px;
    height: 3px;
    background-color: #448c7f;
    margin: 4px 0;
    transition: 0.3s;
    border-radius: 3px;
}

/* ========== COMPREHENSIVE RESPONSIVE DESIGN ========== */

/* Large Desktop (1200px+) - Base styles are here */

/* Desktop & Laptop (768px - 1200px) */
@media (max-width: 1200px) {
    .container {
        padding: 0 30px;
    }
    
    .nav-menu {
        gap: 0.4rem;
        padding: 0.4rem;
    }
    
    .nav-link {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
    }
}

/* Tablet (768px - 1024px) */
@media (max-width: 1024px) {
    .container {
        padding: 0 25px;
    }
    
    section {
        padding: 70px 0;
    }
    
    /* Navbar */
    .nav-link {
        padding: 0.55rem 0.9rem;
        font-size: 0.88rem;
    }
    
    /* Hero */
    .hero-content h1 {
        font-size: 3.5rem;
    }
    
    .hero-content p {
        font-size: 1.3rem;
    }
    
    /* Services */
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    /* Events */
    .events-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Tablet Portrait & Large Mobile (600px - 768px) */
@media (max-width: 768px) {
    html, body {
        overflow-x: clip !important;
        width: 100%;
        position: relative;
    }
    
    body {
        padding-top: 65px;
    }
    
    .container {
        padding: 0 20px;
    }
    
    section {
        padding: 60px 0;
    }
    
    /* Navbar Mobile */
    .navbar {
        padding: 0.7rem 0;
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        z-index: 9999 !important;
        background: #ffffff !important;
        transform: none !important;
        will-change: auto !important;
    }
    
    .nav-container {
        padding: 0 20px;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 65px;
        flex-direction: column;
        background: white;
        width: 100%;
        text-align: center;
        transition: left 0.3s ease;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
        padding: 2rem 1.5rem;
        gap: 0.8rem;
        border-radius: 0;
        z-index: 999;
    }

    .nav-menu.active {
        left: 0;
    }
    
    .nav-link {
        width: 100%;
        padding: 0.85rem 1.5rem;
        border-radius: 12px;
        font-size: 1rem;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active .bar:nth-child(1) {
        transform: translateY(11px) rotate(45deg);
    }

    .nav-toggle.active .bar:nth-child(3) {
        transform: translateY(-11px) rotate(-45deg);
    }
    
    /* Typography */
    h2 {
        font-size: 2.2rem;
    }
    
    /* Hero */
    .hero {
        min-height: 90vh;
        padding: 40px 20px 60px;
        margin-top: 0;
    }
    
    .hero-content h1 {
        font-size: 2.8rem;
        line-height: 1.2;
        margin-bottom: 1.5rem;
    }

    .hero-content p {
        font-size: 1.15rem;
        margin-bottom: 2rem;
    }
    
    .join-us-btn {
        padding: 1rem 2rem;
        font-size: 1rem;
        gap: 0.7rem;
    }
    
    .btn-icon {
        font-size: 1.2rem;
    }
    
    .cta-button {
        padding: 1rem 2.5rem;
        font-size: 1rem;
    }

    /* About */
    .about {
        padding: 60px 0;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .about-stats {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .stat {
        padding: 1.5rem;
    }
    
    .stat h3 {
        font-size: 2.5rem;
    }
    
    /* About Image */
    .about-image {
        height: 450px;
        min-height: 450px;
    }
    
    /* Logo in About Section - Reduce size for tablet */
    .logo-showcase-middle {
        padding: 1.2rem 1.8rem;
        top: 22%;
        height: 78%;
        border-radius: 22px;
    }
    
    .main-logo-middle {
        width: 240px;
        padding: 25px;
        margin: 1.2rem 0;
        border-radius: 22px;
    }
    
    .logo-title-middle {
        font-size: 2.4rem;
        margin: 1.2rem 0 0.7rem 0;
    }
    
    .logo-subtitle-middle {
        font-size: 1.1rem;
        max-width: 320px;
    }

    /* Services */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .service-card {
        padding: 2.5rem 2rem;
    }

    /* Team */
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.8rem;
    }
    
    .member-photo {
        width: 110px;
        height: 110px;
    }

    /* Events */
    .events-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        max-width: 500px;
        margin: 0 auto;
    }
    
    /* Photo Carousel - Enable touch scrolling on tablet */
    .photo-carousel {
        padding: 0 20px;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
        scrollbar-width: none; /* Firefox */
    }
    
    .photo-carousel::-webkit-scrollbar {
        display: none; /* Chrome, Safari */
    }
    
    .photo-container {
        cursor: default;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
    }
    
    .photo-card {
        scroll-snap-align: start;
        flex-shrink: 0;
    }
    
    /* Hide carousel buttons on tablet */
    .carousel-btn {
        display: none !important;
    }

    /* Contact */
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    /* Footer */
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

/* Mobile Landscape (480px - 600px) */
@media (max-width: 600px) {
    .container {
        padding: 0 18px;
    }
    
    section {
        padding: 50px 0;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    /* Nav Menu Adjustment */
    .nav-menu {
        top: 60px;
        padding: 1.8rem 1rem;
    }
    
    /* Hero */
    .hero {
        min-height: 85vh;
        padding: 90px 18px 50px;
    }
    
    .hero-content h1 {
        font-size: 2.3rem;
        margin-bottom: 1.2rem;
    }

    .hero-content p {
        font-size: 1.05rem;
        margin-bottom: 1.8rem;
    }
    
    .cta-button {
        padding: 0.9rem 2.2rem;
        font-size: 0.95rem;
    }
    
    /* About Stats */
    .about-stats {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .stat {
        text-align: center;
    }
    
    /* About Section - Reduce entire container for mobile */
    .about {
        padding: 40px 0 !important;
    }
    
    .about-content {
        gap: 2rem;
    }
    
    /* About Image - Adjust height to prevent overlap */
    .about-image {
        height: 380px !important;
        min-height: 380px !important;
    }
    
    /* Logo in About Section - Further reduce for mobile */
    .logo-showcase-middle {
        padding: 0.8rem 1rem !important;
        top: 15% !important;
        height: 85% !important;
        border-radius: 20px;
    }
    
    .main-logo-middle {
        width: 160px !important;
        padding: 12px !important;
        margin: 0.4rem 0 !important;
        border-radius: 18px;
    }
    
    .logo-title-middle {
        font-size: 1.6rem !important;
        margin: 0.6rem 0 0.4rem 0 !important;
        letter-spacing: -0.4px;
    }
    
    .logo-subtitle-middle {
        font-size: 0.8rem !important;
        max-width: 220px;
        line-height: 1.3;
    }
    
    /* Services */
    .service-card {
        padding: 2rem 1.5rem;
    }
    
    .service-card i {
        font-size: 2.8rem;
    }
    
    .service-card h3 {
        font-size: 1.4rem;
    }
    
    /* Team */
    .team-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        max-width: 420px;
        margin: 0 auto;
    }
    
    .member-photo {
        width: 120px;
        height: 120px;
    }
    
    /* Events */
    .event-card {
        padding: 1.8rem;
    }
    
    /* Photo Carousel - Enable touch scrolling on mobile */
    .photo-carousel {
        padding: 0 15px;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
    }
    
    .photo-carousel::-webkit-scrollbar {
        display: none;
    }
    
    .photo-container {
        cursor: default;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
    }
    
    .photo-card {
        scroll-snap-align: start;
        flex-shrink: 0;
        flex: 0 0 280px;
    }
    
    /* Hide carousel buttons on mobile */
    .carousel-btn {
        display: none !important;
    }
    
    .carousel-indicators {
        margin-top: 2rem;
    }
    
    /* Contact */
    .contact-form {
        padding: 2rem 1.5rem;
    }
    
    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        text-align: center;
    }
    
    .footer-section ul {
        align-items: center;
    }
    
    .social-links {
        justify-content: center;
    }
}

/* Small Mobile (320px - 480px) */
@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    section {
        padding: 40px 0;
    }
    
    h2 {
        font-size: 1.75rem;
    }

    /* Hero */
    .hero {
        min-height: 80vh;
        padding: 85px 15px 40px;
    }
    
    .hero-content h1 {
        font-size: 1.9rem;
        line-height: 1.25;
        margin-bottom: 1rem;
    }

    .hero-content p {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }
    
    .cta-button {
        padding: 0.85rem 2rem;
        font-size: 0.9rem;
    }

    /* About */
    .about {
        padding: 35px 0 !important;
    }
    
    .stat {
        padding: 1.1rem 0.8rem;
    }
    
    .stat h3 {
        font-size: 1.9rem;
    }
    
    .stat p {
        font-size: 0.85rem;
    }
    
    /* About Image - Smaller height for small mobile */
    .about-image {
        height: 330px !important;
        min-height: 330px !important;
    }
    
    /* Logo in About Section - Smallest size for mobile phones */
    .logo-showcase-middle {
        padding: 0.6rem 0.8rem !important;
        top: 12% !important;
        height: 88% !important;
        border-radius: 16px;
    }
    
    .main-logo-middle {
        width: 140px !important;
        padding: 10px !important;
        margin: 0.3rem 0 !important;
        border-radius: 16px;
    }
    
    .logo-title-middle {
        font-size: 1.4rem !important;
        margin: 0.5rem 0 0.3rem 0 !important;
        letter-spacing: -0.3px;
    }
    
    .logo-subtitle-middle {
        font-size: 0.72rem !important;
        max-width: 190px;
        line-height: 1.25;
    }

    /* Services */
    .service-card {
        padding: 1.8rem 1.3rem;
    }
    
    .service-card i {
        font-size: 2.5rem;
    }
    
    .service-card h3 {
        font-size: 1.25rem;
    }
    
    .service-card p {
        font-size: 0.9rem;
    }
    
    /* Team */
    .team-member {
        padding: 1.2rem;
    }
    
    .member-photo {
        width: 100px;
        height: 100px;
    }
    
    .team-member h3 {
        font-size: 1.15rem;
    }
    
    .team-member p {
        font-size: 0.85rem;
    }
    
    .member-info {
        padding: 1rem 1.2rem;
    }
    
    /* Events */
    .event-card {
        padding: 1.5rem 1.2rem;
    }
    
    .event-content h3 {
        font-size: 1.25rem;
    }
    
    .event-content p {
        font-size: 0.85rem;
    }
    
    /* Contact */
    .contact-form {
        padding: 1.5rem 1.2rem;
    }
    
    .contact-form input,
    .contact-form textarea {
        padding: 0.8rem;
        font-size: 0.9rem;
    }
    
    .contact-form button {
        padding: 0.85rem 2rem;
        font-size: 0.95rem;
    }
    
    /* Footer */
    .footer-section h3 {
        font-size: 1.1rem;
    }
    
    .footer-section a,
    .footer-section p {
        font-size: 0.85rem;
    }
    
    .social-links a {
        width: 38px;
        height: 38px;
        font-size: 1.1rem;
    }
    
    .footer-bottom {
        padding: 1.2rem 0;
        font-size: 0.85rem;
    }
}

/* Extra Small Mobile (< 360px) */
@media (max-width: 360px) {
    .hero-content h1 {
        font-size: 1.6rem;
    }
    
    .hero-content p {
        font-size: 0.88rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .service-card,
    .team-member,
    .event-card {
        padding: 1.2rem 1rem;
    }
    
    /* About Section - Extra compact */
    .about {
        padding: 30px 0 !important;
    }
    
    /* About Image - Extra small for tiny screens */
    .about-image {
        height: 300px !important;
        min-height: 300px !important;
    }
    
    .stat {
        padding: 0.9rem 0.7rem;
    }
    
    .stat h3 {
        font-size: 1.7rem;
    }
    
    /* Logo - Extra small */
    .logo-showcase-middle {
        padding: 0.5rem 0.6rem !important;
        top: 10% !important;
        height: 90% !important;
        border-radius: 14px;
    }
    
    .main-logo-middle {
        width: 120px !important;
        padding: 8px !important;
        margin: 0.2rem 0 !important;
        border-radius: 14px;
    }
    
    .logo-title-middle {
        font-size: 1.2rem !important;
        margin: 0.4rem 0 0.3rem 0 !important;
        letter-spacing: -0.2px;
    }
    
    .logo-subtitle-middle {
        font-size: 0.65rem !important;
        max-width: 160px;
        line-height: 1.2;
    }
}

/* Hero Section */
.hero {
    height: 100vh;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #2d3748;
    position: relative;
    overflow: hidden;
    scroll-snap-align: start;
    scroll-margin-top: 0;
}

/* Subtle Educational Parallax Elements */
.education-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 120%;
    pointer-events: none;
    z-index: 1;
    background: 
        radial-gradient(circle at 15% 25%, rgba(255,255,255,0.05) 2px, transparent 2px),
        radial-gradient(circle at 75% 35%, rgba(255,255,255,0.03) 1px, transparent 1px),
        radial-gradient(circle at 45% 75%, rgba(255,255,255,0.04) 1.5px, transparent 1.5px),
        radial-gradient(circle at 85% 65%, rgba(255,255,255,0.02) 1px, transparent 1px),
        radial-gradient(circle at 25% 85%, rgba(255,255,255,0.05) 2px, transparent 2px);
    background-size: 300px 300px, 200px 200px, 250px 250px, 150px 150px, 220px 220px;
    /* Removed animation for better performance */
}

/* Removed laggy animation */

.knowledge-flow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 120%;
    pointer-events: none;
    z-index: 2;
}

.knowledge-flow::before,
.knowledge-flow::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 2px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(255,255,255,0.1) 20%, 
        rgba(255,255,255,0.3) 50%, 
        rgba(255,255,255,0.1) 80%, 
        transparent 100%);
    /* Removed animation for better performance */
}

.knowledge-flow::before {
    top: 30%;
    left: -400px;
    /* Removed animation */
}

.knowledge-flow::after {
    top: 70%;
    right: -400px;
    /* Removed animation */
}

/* Removed laggy flow animation */

.success-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 120%;
    pointer-events: none;
    z-index: 3;
}

.success-elements::before,
.success-elements::after {
    content: '';
    position: absolute;
    width: 150px;
    height: 150px;
    border: 2px solid rgba(255,255,255,0.08);
    border-radius: 50%;
    /* Removed animation for better performance */
}

.success-elements::before {
    top: 20%;
    left: 15%;
}

.success-elements::after {
    bottom: 25%;
    right: 20%;
    width: 200px;
    height: 200px;
}

/* Removed laggy expand animation */

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 80%, rgba(45, 125, 45, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(68, 140, 127, 0.3) 0%, transparent 50%);
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><radialGradient id="a" cx="50%" cy="50%"><stop offset="0%" style="stop-color:rgba(255,255,255,0.1)"/><stop offset="100%" style="stop-color:rgba(255,255,255,0)"/></radialGradient></defs><circle cx="200" cy="200" r="100" fill="url(%23a)"/><circle cx="800" cy="300" r="150" fill="url(%23a)"/><circle cx="300" cy="700" r="120" fill="url(%23a)"/><circle cx="700" cy="800" r="80" fill="url(%23a)"/></svg>');
    opacity: 0.6;
    /* Removed animation for better performance */
}

/* Removed laggy float animation */

.hero-container {
    position: relative;
    z-index: 10;
}

.hero-content {
    position: relative;
    z-index: 100;
}

.hero-content h1 {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    line-height: 1.2;
    color: #2d3748;
}

.hero-content h1 .welcome-text {
    color: #000000;
    font-weight: 700;
}

.hero-content h1 .highlight {
    color: #448c7f;
    font-weight: 700;
}

.hero-content p {
    font-size: 1.4rem;
    margin-bottom: 2.5rem;
    font-weight: 400;
    color: #4a5568;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

/* Hero CTA Section */
.hero-cta {
    margin-top: 2.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 150;
}

.join-us-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 1.2rem 3rem;
    background: linear-gradient(135deg, #448c7f 0%, #52a08f 100%);
    color: white;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 600;
    border-radius: 50px;
    box-shadow: 0 10px 30px rgba(68, 140, 127, 0.3);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
    cursor: pointer;
    z-index: 200;
}

.join-us-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #52a08f 0%, #5ebaa8 100%);
    transition: left 0.5s ease;
    z-index: -1;
}

.join-us-btn:hover::before,
.join-us-btn:active::before {
    left: 0;
}

.join-us-btn:hover,
.join-us-btn:active {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 40px rgba(68, 140, 127, 0.4);
    color: white;
    text-decoration: none;
}

.join-us-btn:active {
    transform: translateY(-2px) scale(1.02);
}

.btn-text {
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease;
}

.join-us-btn:hover .btn-text,
.join-us-btn:active .btn-text {
    transform: translateX(-5px);
}

.btn-icon {
    position: relative;
    z-index: 1;
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.join-us-btn:hover .btn-icon,
.join-us-btn:active .btn-icon {
    transform: translateX(5px);
    animation: bounceArrow 0.6s ease infinite;
}

@keyframes bounceArrow {
    0%, 100% {
        transform: translateX(5px);
    }
    50% {
        transform: translateX(10px);
    }
}

/* Pulse animation on page load */
.join-us-btn {
    animation: pulseGlow 2s ease-in-out infinite;
}

@keyframes pulseGlow {
    0%, 100% {
        box-shadow: 0 10px 30px rgba(68, 140, 127, 0.3);
    }
    50% {
        box-shadow: 0 10px 40px rgba(68, 140, 127, 0.5);
    }
}

.join-us-btn:hover {
    animation: none;
}

.cta-btn {
    display: inline-block;
    padding: 18px 45px;
    font-size: 1.1rem;
    font-weight: 600;
    background: linear-gradient(135deg, #1a5d1a 0%, #2d7d2d 100%);
    color: white;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(26, 93, 26, 0.3);
    text-decoration: none;
    text-align: center;
}

.cta-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.1) 100%);
    transition: left 0.5s ease;
}

.cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(26, 93, 26, 0.4);
}

.cta-btn:hover::before {
    left: 100%;
}

/* Sections */
section {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
    clear: both;
}

section:nth-child(even) {
    background: rgba(255, 255, 255, 0.95);
}

section:nth-child(odd) {
    background: rgba(248, 250, 252, 0.95);
}

.section-title {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 4rem;
    padding-bottom: 1rem;
    color: #2d3748;
    position: relative;
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    letter-spacing: -1px;
}

.section-title::before {
    content: '';
    position: absolute;
    width: 120px;
    height: 4px;
    background: linear-gradient(135deg, #448c7f, #52a08f);
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

.section-title::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 4px;
    background: linear-gradient(135deg, #367863, #448c7f);
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

/* About Section */
.about {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(248, 250, 252, 0.9) 100%);
    position: relative;
    scroll-snap-align: start;
    scroll-margin-top: 100px;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(102,126,234,0.05)"/><circle cx="75" cy="75" r="1" fill="rgba(118,75,162,0.05)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.5;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
    position: relative;
}

.about-image {
    position: relative;
    height: 100%;
}

.about-text h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #2c3e50;
}

.about-text p {
    margin-bottom: 2rem;
    color: #666;
    line-height: 1.8;
}

.about-stats {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.stats {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 3rem;
    align-items: center;
}

.logo-showcase-middle {
    text-align: center;
    padding: 2rem 3rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 70%;
    background: rgba(255, 255, 255, 0.98);
    border-radius: 30px;
    box-shadow: none;
    /* REMOVED backdrop-filter - performance killer */
    border: 1px solid rgba(255, 255, 255, 0.8);
    position: absolute;
    width: 100%;
    z-index: 10;
    top: 30%;
    bottom: 0;
    left: 0;
    right: 0;
}

.main-logo-middle {
    width: 400px;
    height: auto;
    max-width: 100%;
    object-fit: contain;
    filter: none;
    transition: all 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.95);
    padding: 40px;
    box-shadow: none;
    margin: 2rem 0;
    transform-style: preserve-3d;
}

.main-logo-middle:hover {
    transform: rotateY(360deg) scale(1.1);
    filter: none;
    box-shadow: 0 10px 40px rgba(68, 140, 127, 0.3);
}

.logo-title-middle {
    font-size: 3.5rem;
    font-weight: 700;
    color: #448c7f;
    margin: 2rem 0 1rem 0;
    font-family: 'Playfair Display', serif;
    text-shadow: 0 4px 20px rgba(68, 140, 127, 0.5);
    letter-spacing: -2px;
}

.logo-subtitle-middle {
    font-size: 1.5rem;
    color: #666;
    font-style: italic;
    margin: 0;
    opacity: 0.8;
    font-weight: 300;
    text-align: center;
    max-width: 400px;
    line-height: 1.6;
}

.stat {
    text-align: center;
    padding: 2.5rem;
    background: rgba(255, 255, 255, 0.98);
    border-radius: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.2s ease-out;
    border: 1px solid rgba(255, 255, 255, 0.8);
    /* REMOVED backdrop-filter - performance killer */
    position: relative;
    overflow: hidden;
}

.stat::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(135deg, #448c7f, #52a08f);
}

.stat:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15), 0 8px 16px rgba(0, 0, 0, 0.1);
}

.stat h3 {
    font-size: 3rem;
    background: linear-gradient(135deg, #448c7f, #52a08f);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.stat p {
    color: #4a5568;
    font-weight: 500;
    font-size: 1.1rem;
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.service-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 250, 252, 0.95) 100%);
    padding: 3rem 2.5rem;
    border-radius: 25px;
    text-align: center;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.2s ease-out;
    border: 1px solid rgba(255, 255, 255, 0.8);
    /* REMOVED backdrop-filter - performance killer */
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(68, 140, 127, 0.03) 0%, rgba(45, 125, 45, 0.03) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.service-card:hover::before {
    opacity: 1;
}

.service-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.12), 0 12px 24px rgba(0, 0, 0, 0.08);
}

.service-icon {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, #448c7f 0%, #52a08f 50%, #367863 100%);
    border-radius: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    box-shadow: 0 8px 25px rgba(68, 140, 127, 0.3);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 12px 35px rgba(68, 140, 127, 0.4);
}

.service-icon i {
    font-size: 2.2rem;
    color: white;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1.2rem;
    color: #2d3748;
    font-weight: 600;
    font-family: 'Playfair Display', serif;
}

.service-card p {
    color: #4a5568;
    line-height: 1.7;
    font-size: 1rem;
}

/* Logo Showcase */
.logo-showcase {
    text-align: center;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.main-logo {
    width: 450px;
    height: auto;
    max-width: 100%;
    object-fit: contain;
    /* REMOVED filter - performance killer */
    transition: all 0.2s ease;
    border-radius: 25px;
    background: rgba(255, 255, 255, 0.98);
    padding: 30px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}

.main-logo:hover {
    transform: scale(1.03);
    /* REMOVED filter - performance killer */
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.logo-title {
    font-size: 3rem;
    font-weight: 700;
    color: #448c7f;
    margin: 2rem 0 1rem 0;
    font-family: 'Playfair Display', serif;
    text-shadow: 0 3px 15px rgba(68, 140, 127, 0.3);
    letter-spacing: -1px;
}

.logo-subtitle {
    font-size: 1.4rem;
    color: #666;
    font-style: italic;
    margin: 0;
    opacity: 0.8;
    font-weight: 300;
}

/* Gallery Section - No heavy effects */
.gallery {
    background: rgba(248, 250, 252, 0.8);
    position: relative;
    padding: 80px 0;
    overflow: hidden;
    /* Removed backdrop-filter for better performance */
    /* Performance optimizations */
    transform: translateZ(0);
    will-change: transform;
    contain: layout style paint;
    -webkit-transform: translate3d(0, 0, 0);
}

/* Gallery Section Header */
.gallery .section-header h2 {
    color: #448c7f;
}

.gallery .section-header h2 .zenith-text {
    color: #000000;
}

.gallery .section-header h2 .gallery-text {
    color: #448c7f;
}

/* Remove laggy background animations */

/* Stats Banner - No background animations */
.stats-banner {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4rem;
    margin-bottom: 5rem;
    position: relative;
    z-index: 2;
    padding: 2rem 0;
}

/* Achievement Stats Aesthetic - Ultra lightweight */
.achievement-stat {
    text-align: center;
    padding: 3rem 2rem;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 25px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.9);
    transition: transform 0.2s ease-out, box-shadow 0.2s ease-out;
    min-width: 180px;
    min-height: 200px;
    position: relative;
    overflow: hidden;
    opacity: 1;
    transform: translateY(0);
    /* Minimal performance optimizations */
    will-change: transform;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Ultra simple hover effects */
.achievement-stat:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.achievement-stat:hover::before {
    opacity: 1;
}

.achievement-stat:hover::after {
    left: 100%;
}

.achievement-stat:hover {
    transform: translateY(-15px) scale(1.08) rotateX(-2deg);
    box-shadow: 0 40px 80px rgba(34, 197, 94, 0.2), 
                0 0 60px rgba(34, 197, 94, 0.15),
                0 10px 30px rgba(68, 140, 127, 0.1);
    border-color: rgba(34, 197, 94, 0.4);
}

/* Stat Decoration */
.stat-decoration {
    position: absolute;
    top: -8px;
    right: -8px;
    width: 35px;
    height: 35px;
    background: linear-gradient(45deg, #448c7f, #4ade80, #34d399);
    background-size: 200% 200%;
    border-radius: 50%;
    opacity: 0;
    transform: scale(0) rotate(0deg);
    transition: all 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    animation: decorationPulse 3s ease-in-out infinite;
    box-shadow: 0 0 20px rgba(68, 140, 127, 0.3);
}

.stat-decoration::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 60%;
    height: 60%;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(0);
    transition: transform 0.4s ease;
    animation: innerGlow 2s ease-in-out infinite alternate;
}

.achievement-stat:hover .stat-decoration {
    opacity: 1;
    transform: scale(1.2) rotate(180deg);
    box-shadow: 0 0 30px rgba(68, 140, 127, 0.5);
}

.achievement-stat:hover .stat-decoration::before {
    transform: translate(-50%, -50%) scale(1);
}

@keyframes decorationPulse {
    0%, 100% { 
        transform: scale(1) rotate(0deg); 
        opacity: 0.7;
        background-position: 0% 50%;
    }
    50% { 
        transform: scale(1.3) rotate(90deg); 
        opacity: 1;
        background-position: 100% 50%;
    }
}

@keyframes innerGlow {
    0% { opacity: 0.5; transform: translate(-50%, -50%) scale(0.8); }
    100% { opacity: 1; transform: translate(-50%, -50%) scale(1.2); }
}

/* Achievement Numbers */
.counter-achievement {
    font-size: 3.8rem !important;
    font-weight: 900;
    color: #448c7f;
    font-family: 'Playfair Display', serif;
    line-height: 1;
    margin-bottom: 0.5rem;
    text-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
    position: relative;
    display: inline-block;
    transition: all 0.4s ease;
    text-align: center;
    will-change: contents;
    transform: translateZ(0);
    backface-visibility: hidden;
    vertical-align: baseline;
    background: linear-gradient(135deg, #448c7f, #5aa59b, #34d399);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% 200%;
    animation: textGradientShift 4s ease-in-out infinite;
}

.counter-achievement::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #448c7f, #5aa59b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.achievement-stat:hover .counter-achievement {
    transform: scale(1.1);
    text-shadow: 0 5px 15px rgba(68, 140, 127, 0.3);
}

.achievement-stat:hover .counter-achievement::before {
    opacity: 1;
}

@keyframes textGradientShift {
}

.achievement-plus {
    font-size: 2.5rem;
    font-weight: 900;
    color: #448c7f;
    font-family: 'Playfair Display', serif;
    margin-left: 0.2rem;
    opacity: 0;
    transform: scale(0.5) rotate(-180deg);
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    display: inline-block;
    will-change: transform, opacity;
    vertical-align: baseline;
}

.achievement-plus.animate {
    opacity: 1;
    transform: scale(1) rotate(0deg);
}

/* Ensure numbers and plus signs stay on same line */
.stat-number,
.achievement-plus {
    white-space: nowrap;
}

.stat-item .stat-number {
    margin-bottom: 0.5rem;
}

.stat-item {
    text-align: center;
    padding: 2.5rem 3rem;
    background: rgba(255, 255, 255, 0.98);
    border-radius: 25px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    /* REMOVED backdrop-filter - performance killer */
    border: 1px solid rgba(255, 255, 255, 0.8);
    transition: all 0.2s ease-out;
    min-width: 200px;
    max-width: 300px;
    width: 100%;
}

.stat-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

/* Animated Counter Styles */
.stat-item h4 {
    font-size: 3rem;
    font-weight: 900;
    color: #448c7f;
    font-family: 'Playfair Display', serif;
    line-height: 1;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: relative;
    display: inline-block;
}

.counter {
    animation: countGlow 0.5s ease-in-out;
    transition: all 0.3s ease;
}

.counter-plus {
    font-size: 3rem;
    font-weight: 900;
    color: #448c7f;
    font-family: 'Playfair Display', serif;
    margin-left: 0.2rem;
    opacity: 0;
    transform: scale(0.5);
    transition: all 0.5s ease;
    display: inline-block;
}

.counter-plus.animate {
    opacity: 1;
    transform: scale(1);
    animation: plusBounce 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55); /* Faster bounce */
}

@keyframes countGlow {
    0% { 
        color: #448c7f;
        text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    }
    50% { 
        color: #448c7f;
        text-shadow: 0 0 20px rgba(34, 197, 94, 0.6);
        transform: scale(1.1);
    }
    100% { 
        color: #448c7f;
        text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        transform: scale(1);
    }
}

@keyframes plusBounce {
    0% { 
        opacity: 0;
        transform: scale(0.3) rotate(-180deg);
    }
    50% { 
        opacity: 1;
        transform: scale(1.2) rotate(0deg);
    }
    100% { 
        opacity: 1;
        transform: scale(1) rotate(0deg);
    }
}

/* Faster pulsing effect for counting */
.counter.counting {
    animation: countPulse 0.3s ease-in-out infinite alternate; /* Smoother pulse */
}

@keyframes countPulse {
    0% { transform: scale(1); }
    100% { transform: scale(1.03); }
}

/* Stat item glow during counting */
@keyframes statGlow {
    0%, 100% { 
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        border-color: rgba(255, 255, 255, 0.8);
    }
    50% { 
        box-shadow: 0 15px 40px rgba(34, 197, 94, 0.2), 0 0 30px rgba(34, 197, 94, 0.1);
        border-color: rgba(34, 197, 94, 0.3);
    }
}

/* Completion effect */
@keyframes statComplete {
    0% { 
        transform: scale(1);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        filter: brightness(1);
    }
    30% { 
        transform: scale(1.05);
        box-shadow: 0 20px 50px rgba(34, 197, 94, 0.3), 0 0 30px rgba(34, 197, 94, 0.2);
        filter: brightness(1.1) saturate(1.2);
    }
    60% { 
        transform: scale(1.02);
        box-shadow: 0 25px 60px rgba(34, 197, 94, 0.4), 0 0 40px rgba(34, 197, 94, 0.15);
        filter: brightness(1.05) saturate(1.1);
    }
    100% { 
        transform: scale(1);
        box-shadow: 0 15px 35px rgba(34, 197, 94, 0.2), 0 0 20px rgba(34, 197, 94, 0.1);
        filter: brightness(1) saturate(1);
    }
}

/* Aesthetic floating particles */
@keyframes floatUp {
    0% { 
        opacity: 0;
        transform: translateY(0) scale(0.5);
    }
    20% { 
        opacity: 1;
        transform: translateY(-10px) scale(1);
    }
    100% { 
        opacity: 0;
        transform: translateY(-80px) scale(0.3);
    }
}

/* Particle drift during counting */
@keyframes particleDrift {
    0% { 
        opacity: 0.8;
        transform: translateY(0) translateX(0) scale(1);
    }
    100% { 
        opacity: 0;
        transform: translateY(-60px) translateX(var(--drift-x, 20px)) scale(0.5);
    }
}

/* Ripple wave effect */
@keyframes rippleExpand {
    0% { 
        opacity: 1;
        transform: translate(-50%, -50%) scale(0);
        border-width: 3px;
    }
    70% { 
        opacity: 0.6;
        transform: translate(-50%, -50%) scale(4);
        border-width: 1px;
    }
    100% { 
        opacity: 0;
        transform: translate(-50%, -50%) scale(6);
        border-width: 0px;
    }
}

/* Geometric shape animations */
@keyframes geometricFloat {
    0% { 
        opacity: 0;
        transform: translate(-50%, -50%) scale(0) rotate(0deg);
    }
    30% { 
        opacity: 1;
        transform: translate(-50%, -50%) scale(1.2) rotate(180deg);
    }
    100% { 
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.3) rotate(360deg) translateY(-100px);
    }
}

/* Geometric shapes */
.geometric-shape.triangle {
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-bottom: 8px solid currentColor;
    background: transparent !important;
}

.geometric-shape.square {
    border-radius: 1px;
}

.geometric-shape.diamond {
    transform: translate(-50%, -50%) rotate(45deg);
    border-radius: 2px;
}

.geometric-shape.hexagon {
    width: 8px;
    height: 8px;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}

/* Enhanced sparkles */
.sparkle {
    box-shadow: 0 0 6px currentColor;
}

.confetti {
    --random-x: calc((var(--i, 0) - 2) * 30px);
}

.stat-label {
    font-size: 1rem;
    font-weight: 600;
    color: #4a5568;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    padding: 0.5rem 0;
}

.stat-label::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #448c7f, #4ade80);
    transform: translateX(-50%);
    transition: width 0.4s ease;
}

.achievement-stat:hover .stat-label {
    color: #448c7f;
    transform: translateY(-2px);
}

.achievement-stat:hover .stat-label::before {
    width: 100%;
}

/* Gallery Section */
.gallery-section {
    position: relative;
    z-index: 2;
    padding: 3rem 0;
}

.gallery-section h3 {
    text-align: center;
    font-size: clamp(1.8rem, 5vw, 2.5rem);
    color: #448c7f;
    font-family: 'Playfair Display', serif;
    margin-bottom: 3rem;
    position: relative;
    padding: 0 20px;
}

.gallery-section h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(135deg, #448c7f, #52a08f);
    border-radius: 2px;
}

/* Photo Carousel - Continuous Auto-Scroll */
.photo-carousel {
    position: relative;
    max-width: 100%;
    margin: 0 auto;
    padding: 2rem 0;
    overflow: hidden;
    width: 100%;
}

.photo-container {
    display: flex;
    gap: 2rem;
    animation: autoScroll 60s linear infinite;
    width: max-content;
}

.photo-container:hover {
    animation-play-state: paused;
}

@keyframes autoScroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-50% - 1rem));
    }
}

/* Photo Cards with Creative Animations - Mobile First */
.photo-card {
    /* Mobile: Fluid responsive sizing */
    flex: 0 0 clamp(280px, 85vw, 350px);
    min-width: clamp(280px, 85vw, 350px);
    max-width: 350px;
    
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 250, 252, 0.95) 100%);
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    cursor: pointer;
    user-select: none;
    transform-origin: center;
    animation: floatCard 4s ease-in-out infinite;
    
    /* Mobile: Scroll snap alignment */
    scroll-snap-align: center;
    scroll-snap-stop: always;
}

/* Desktop: Fixed width */
@media (min-width: 769px) {
    .photo-card {
        flex: 0 0 350px;
        scroll-snap-align: start;
    }
}

/* Floating Animation */
@keyframes floatCard {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(0.5deg); }
}

/* Different animations for different cards */
.photo-card:nth-child(1) { animation-delay: 0s; }
.photo-card:nth-child(2) { animation-delay: 0.5s; }
.photo-card:nth-child(3) { animation-delay: 1s; }
.photo-card:nth-child(4) { animation-delay: 1.5s; }
.photo-card:nth-child(5) { animation-delay: 2s; }
.photo-card:nth-child(6) { animation-delay: 2.5s; }
.photo-card:nth-child(7) { animation-delay: 3s; }
.photo-card:nth-child(8) { animation-delay: 3.5s; }
.photo-card:nth-child(9) { animation-delay: 0.2s; }
.photo-card:nth-child(10) { animation-delay: 0.7s; }
.photo-card:nth-child(11) { animation-delay: 1.2s; }
.photo-card:nth-child(12) { animation-delay: 1.7s; }
.photo-card:nth-child(13) { animation-delay: 2.2s; }
.photo-card:nth-child(14) { animation-delay: 2.7s; }
.photo-card:nth-child(15) { animation-delay: 3.2s; }
.photo-card:nth-child(16) { animation-delay: 3.7s; }

/* Creative Hover Effects */
.photo-card:hover {
    transform: translateY(-25px) scale(1.05) rotateY(5deg);
    box-shadow: 0 35px 60px rgba(68, 140, 127, 0.3);
    animation-play-state: paused; /* Pause float on hover */
}

/* Glowing border effect on hover */
.photo-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #4ade80, #448c7f, #448c7f, #4ade80);
    background-size: 300% 300%;
    border-radius: 27px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.5s ease;
    animation: gradientShift 3s ease infinite;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.photo-card:hover::before {
    opacity: 1;
}

/* Image animations */
.card-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
}

/* Mobile: Shorter height for better fit */
@media (max-width: 768px) {
    .card-image {
        height: clamp(200px, 50vw, 250px);
    }
}

.card-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.4), 
        transparent
    );
    transition: left 0.5s;
}

.photo-card:hover .card-image::after {
    left: 100%;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    user-select: none;
    pointer-events: none;
    filter: grayscale(20%) brightness(0.9);
    display: block;
}

/* Mobile: Ensure full image visibility with contain */
@media (max-width: 768px) {
    .card-image img {
        object-fit: contain;
        padding: 5px;
    }
}

.photo-card:hover .card-image img {
    transform: scale(1.15) rotate(2deg);
    filter: grayscale(0%) brightness(1.1) contrast(1.1);
}

.card-content {
    padding: 1.5rem;
    position: relative;
    transform: translateY(0);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.photo-card:hover .card-content {
    transform: translateY(-8px);
}

.card-content h4 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #448c7f;
    margin-bottom: 0.5rem;
    font-family: 'Playfair Display', serif;
    transform: translateX(0);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.photo-card:hover .card-content h4 {
    transform: translateX(5px);
    color: #ffffff;
}

/* Animated underline for titles */
.card-content h4::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #448c7f, #4ade80);
    transition: width 0.4s ease;
}

.photo-card:hover .card-content h4::after {
    width: 100%;
}

.card-content p {
    font-size: 0.95rem;
    color: #4a5568;
    line-height: 1.6;
    transform: translateY(0);
    opacity: 0.8;
    transition: all 0.4s ease 0.1s;
}

.photo-card:hover .card-content p {
    transform: translateY(-3px);
    opacity: 1;
    color: #000000;
}

/* Creative Tag Animations */
.card-tag {
    display: inline-block;
    background: linear-gradient(135deg, #448c7f, #4ade80);
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
    transform: translateY(0) scale(1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    margin-top: 0.5rem;
}

.card-tag::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s;
}

.photo-card:hover .card-tag {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 8px 20px rgba(34, 197, 94, 0.4);
}

.photo-card:hover .card-tag::before {
    left: 100%;
}

/* Pulse effect for even cards */
.photo-card:nth-child(even) {
    animation: floatCard 4s ease-in-out infinite, pulseGlow 6s ease-in-out infinite;
}

@keyframes pulseGlow {
    0%, 100% { 
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    }
    50% { 
        box-shadow: 0 20px 40px rgba(34, 197, 94, 0.15), 0 0 30px rgba(34, 197, 94, 0.1);
    }
}

/* Rotate effect for specific cards */
.photo-card:nth-child(3n) {
    animation: floatCard 4s ease-in-out infinite, rotateFloat 8s ease-in-out infinite;
}

@keyframes rotateFloat {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    25% { transform: translateY(-8px) rotate(1deg); }
    75% { transform: translateY(-5px) rotate(-0.5deg); }
}

/* Original card-tag styles */

/* Entrance Animations for Carousel */
.photo-container {
    display: flex;
    gap: 2rem;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
    cursor: grab;
    user-select: none;
    width: calc(350px * 16 + 2rem * 15); /* Full width for all cards */
    transform: translateX(0px); /* Initial position */
    position: relative;
    z-index: 2;
}

/* Special effects when cards are in focus */
.photo-card.in-focus {
    animation: cardSpotlight 2s ease-in-out;
}

@keyframes cardSpotlight {
    0% { 
        transform: translateY(0px) scale(1);
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    }
    50% { 
        transform: translateY(-15px) scale(1.02);
        box-shadow: 0 25px 50px rgba(34, 197, 94, 0.3);
    }
    100% { 
        transform: translateY(0px) scale(1);
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    }
}

/* Shimmer effect for background */
.photo-carousel::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(34, 197, 94, 0.05), 
        transparent
    );
    animation: shimmerBackground 3s ease-in-out infinite;
    pointer-events: none;
    z-index: 1;
}

@keyframes shimmerBackground {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* Particle effect simulation */
.gallery::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(2px 2px at 20px 30px, rgba(34, 197, 94, 0.3), transparent),
        radial-gradient(2px 2px at 40px 70px, rgba(74, 222, 128, 0.2), transparent),
        radial-gradient(1px 1px at 90px 40px, rgba(34, 197, 94, 0.4), transparent),
        radial-gradient(1px 1px at 130px 80px, rgba(74, 222, 128, 0.3), transparent);
    background-repeat: repeat;
    background-size: 150px 100px;
    animation: particleFloat 20s linear infinite;
    opacity: 0.6;
    pointer-events: none;
}

@keyframes particleFloat {
    0% { background-position: 0% 0%; }
    100% { background-position: 100% 100%; }
}

.card-tag {
    display: inline-block;
    background: linear-gradient(135deg, #448c7f, #52a08f);
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Hide carousel buttons completely for auto-scroll */
.carousel-btn {
    display: none !important;
}

/* Carousel Indicators */
.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 3rem;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(68, 140, 127, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.indicator.active,
.indicator:hover {
    background: #448c7f;
    transform: scale(1.2);
}

.indicator::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transition: transform 0.3s ease;
}

.indicator:hover::before {
    transform: translate(-50%, -50%) scale(1);
}

/* Animations */
@keyframes cardFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}

.photo-card:nth-child(odd) {
    animation: cardFloat 6s ease-in-out infinite;
    animation-delay: 0s;
}

.photo-card:nth-child(even) {
    animation: cardFloat 6s ease-in-out infinite;
    animation-delay: 3s;
}

/* Old gallery styles below - keeping for compatibility */
.tab-btn {
    padding: 15px 35px;
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid transparent;
    color: #4a5568;
    border-radius: 30px;
    cursor: pointer;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
}

.tab-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #448c7f, #52a08f);
    transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: -1;
}

.tab-btn:hover,
.tab-btn.active {
    color: white;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 25px rgba(68, 140, 127, 0.25);
}

.tab-btn:hover::before,
.tab-btn.active::before {
    left: 0;
}

.gallery-content {
    display: none;
}

.gallery-content.active {
    display: block;
}

.photo-slider {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 250, 252, 0.95) 100%);
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1), 0 8px 25px rgba(0, 0, 0, 0.06);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.8);
}

.slider-container {
    position: relative;
    width: 100%;
    height: 400px;
}

.slide {
    display: none;
    width: 100%;
    height: 100%;
}

.slide.active {
    display: block;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: linear-gradient(135deg, rgba(68, 140, 127, 0.9), rgba(45, 125, 45, 0.9));
    color: white;
    border: none;
    padding: 18px;
    cursor: pointer;
    font-size: 1.3rem;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 2;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.slider-btn:hover {
    background: linear-gradient(135deg, #448c7f, #52a08f);
    transform: translateY(-50%) scale(1.15);
    box-shadow: 0 12px 35px rgba(68, 140, 127, 0.3);
}

.slider-btn.prev {
    left: 20px;
}

.slider-btn.next {
    right: 20px;
}

.slider-dots {
    text-align: center;
    padding: 25px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 250, 252, 0.95) 100%);
}

.dot {
    height: 14px;
    width: 14px;
    margin: 0 8px;
    background-color: rgba(180, 195, 199, 0.6);
    border-radius: 50%;
    display: inline-block;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.dot::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 0;
    height: 0;
    background: linear-gradient(135deg, #448c7f, #52a08f);
    border-radius: 50%;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.dot.active::before,
.dot:hover::before {
    width: 14px;
    height: 14px;
}

.dot.active,
.dot:hover {
    transform: scale(1.3);
    box-shadow: 0 4px 12px rgba(68, 140, 127, 0.3);
}

/* Team Section */
.team {
    background: linear-gradient(to bottom, #ffffff 0%, #f8fafc 100%);
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.team::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 10% 20%, rgba(68, 140, 127, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 90% 80%, rgba(68, 140, 127, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    position: relative;
}

.team-member {
    background: #ffffff;
    border-radius: 20px;
    padding: 0;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(68, 140, 127, 0.1);
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
    display: flex;
    flex-direction: column;
    min-height: 420px;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Stagger animation for team members */
.team-member:nth-child(1) { animation-delay: 0.1s; }
.team-member:nth-child(2) { animation-delay: 0.2s; }
.team-member:nth-child(3) { animation-delay: 0.3s; }
.team-member:nth-child(4) { animation-delay: 0.4s; }
.team-member:nth-child(5) { animation-delay: 0.5s; }
.team-member:nth-child(6) { animation-delay: 0.6s; }
.team-member:nth-child(7) { animation-delay: 0.7s; }
.team-member:nth-child(8) { animation-delay: 0.8s; }
.team-member:nth-child(9) { animation-delay: 0.9s; }
.team-member:nth-child(10) { animation-delay: 1s; }
.team-member:nth-child(11) { animation-delay: 1.1s; }
.team-member:nth-child(12) { animation-delay: 1.2s; }
.team-member:nth-child(13) { animation-delay: 1.3s; }
.team-member:nth-child(14) { animation-delay: 1.4s; }
.team-member:nth-child(15) { animation-delay: 1.5s; }
.team-member:nth-child(16) { animation-delay: 1.6s; }
.team-member:nth-child(17) { animation-delay: 1.7s; }
.team-member:nth-child(18) { animation-delay: 1.8s; }
.team-member:nth-child(19) { animation-delay: 1.9s; }
.team-member:nth-child(20) { animation-delay: 2s; }

.team-member::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(135deg, #448c7f 0%, #52a08f 50%, #5ab39d 100%);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
}

.team-member::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: rotate(45deg);
    transition: all 0.6s ease;
    z-index: 2;
}

.team-member:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 40px rgba(68, 140, 127, 0.25);
    border-color: rgba(68, 140, 127, 0.3);
}

.team-member:hover::before {
    height: 220px;
}

.team-member:hover::after {
    top: 100%;
    left: 100%;
}

.member-photo {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto;
    position: relative;
    z-index: 3;
    border: 5px solid #ffffff;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    margin-top: 40px;
    margin-bottom: 1.5rem;
    flex-shrink: 0;
}

.team-member:hover .member-photo {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 15px 35px rgba(68, 140, 127, 0.4);
    border-color: #f0fdf4;
}

.member-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
}

.team-member:hover .member-photo img {
    transform: scale(1.1);
}

.member-info {
    padding: 1.5rem 2rem 2rem;
    position: relative;
    z-index: 3;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.team-member h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: #1e293b;
    font-weight: 700;
    font-family: 'Playfair Display', serif;
    transition: color 0.3s ease;
}

.team-member:hover h3 {
    color: #448c7f;
}

.team-member p {
    color: #64748b;
    font-weight: 500;
    margin-bottom: 1.5rem;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.85rem;
}

/* Team Member Social Icons */
.member-social {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-top: 1.5rem;
    flex-wrap: nowrap;
}

.member-social a {
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, #448c7f, #52a08f);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(68, 140, 127, 0.3);
    font-size: 1.1rem;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}

.member-social a::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.4s ease, height 0.4s ease;
}

.member-social a:hover::before {
    width: 100%;
    height: 100%;
}

.member-social a:hover {
    transform: translateY(-5px) scale(1.15);
    box-shadow: 0 8px 25px rgba(68, 140, 127, 0.5);
}

.member-social a:nth-child(1):hover {
    background: linear-gradient(135deg, #0077B5, #006699);
}

.member-social a:nth-child(2):hover {
    background: linear-gradient(135deg, #1DA1F2, #0d8bd9);
}

.member-social a:nth-child(3):hover {
    background: linear-gradient(135deg, #EA4335, #d33426);
}

@keyframes socialPulse1 {
    0%, 100% { box-shadow: 0 6px 20px rgba(5, 150, 105, 0.3); }
    50% { box-shadow: 0 8px 25px rgba(5, 150, 105, 0.5); }
}

@keyframes socialPulse2 {
    0%, 100% { box-shadow: 0 6px 20px rgba(34, 197, 94, 0.3); }
    50% { box-shadow: 0 8px 25px rgba(34, 197, 94, 0.5); }
}

@keyframes socialPulse3 {
    0%, 100% { box-shadow: 0 6px 20px rgba(74, 222, 128, 0.3); }
    50% { box-shadow: 0 8px 25px rgba(74, 222, 128, 0.5); }
}

/* Page Hero Section (for Team, Gallery, etc.) */
.page-hero {
    min-height: 70vh;
    background: linear-gradient(135deg, #448c7f 0%, #52a08f 50%, #367863 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding-top: 80px;
    overflow: hidden;
}

.page-hero .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(255,255,255,0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(255,255,255,0.05) 0%, transparent 50%);
    pointer-events: none;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 15% 25%, rgba(255,255,255,0.03) 2px, transparent 2px),
        radial-gradient(circle at 75% 35%, rgba(255,255,255,0.02) 1px, transparent 1px);
    background-size: 80px 80px;
    opacity: 0.5;
    pointer-events: none;
}

.page-hero .hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    padding: 3rem 2rem;
    max-width: 900px;
}

.page-hero .hero-title {
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    margin-bottom: 1.5rem;
    text-shadow: 2px 4px 12px rgba(0,0,0,0.2);
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: -1px;
}

.page-hero .title-line {
    display: block;
}

.page-hero .highlight {
    color: #ffffff;
    text-shadow: 
        0 0 30px rgba(255, 255, 255, 0.5),
        2px 4px 15px rgba(0, 0, 0, 0.3);
    font-weight: 700;
    display: inline-block;
}

.page-hero .hero-subtitle {
    font-size: 1.25rem;
    opacity: 0.95;
    letter-spacing: 0.5px;
    line-height: 1.8;
    font-weight: 400;
    max-width: 700px;
    margin: 0 auto;
}

.page-hero .scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 2rem;
    animation: bounce 2s infinite;
    cursor: pointer;
    z-index: 3;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* Responsive Hero */
@media (max-width: 768px) {
    .page-hero .hero-title {
        font-size: 2.5rem;
    }
    
    .page-hero .hero-subtitle {
        font-size: 1rem;
    }
}

.social-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    flex-wrap: nowrap;
}

.social-links a {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 1.2rem;
    position: relative;
    flex-shrink: 0;
}

.social-links a:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* Individual social media colors on hover */
.social-links a[href*="instagram"]:hover {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    border-color: #bc1888;
}

.social-links a[href*="linkedin"]:hover {
    background: #0077B5;
    border-color: #0077B5;
}

.social-links a[href*="facebook"]:hover {
    background: #1877F2;
    border-color: #1877F2;
}

.social-links a[href*="twitter"]:hover {
    background: #1DA1F2;
    border-color: #1DA1F2;
}

/* Event Gallery Modal for Public Site */
.event-gallery-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
}

.gallery-modal-content {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    max-width: 90vw;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
}

.gallery-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e9ecef;
}

.gallery-modal-header h3 {
    color: #448c7f;
    margin: 0;
    font-size: 1.5rem;
}

.gallery-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 2rem;
    color: #666;
    cursor: pointer;
    transition: color 0.3s ease;
}

.gallery-close:hover {
    color: #448c7f;
}

.event-photos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
}

.event-photo-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    cursor: pointer;
}

.event-photo-item:hover {
    transform: scale(1.05);
}

.event-photo-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.event-photo-item:hover img {
    transform: scale(1.1);
}

/* Event Stats in Gallery */
.event-gallery-stats {
    background: linear-gradient(135deg, #448c7f, #52a08f);
    color: white;
    padding: 1rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.stat-item {
    text-align: center;
}

.stat-item .stat-number {
    font-size: 2rem;
    font-weight: bold;
    display: block;
}

.stat-item .stat-label {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Social icons styling (for recruitment page) */
.social-icons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 1rem;
}

.social-icons a {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 1.2rem;
    position: relative;
    flex-shrink: 0;
}

.social-icons a:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.social-icons a[href*="instagram"]:hover {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    border-color: #bc1888;
}

.social-icons a[href*="linkedin"]:hover {
    background: #0077B5;
    border-color: #0077B5;
}

.social-icons a[href*="facebook"]:hover {
    background: #1877F2;
    border-color: #1877F2;
}

.social-icons a[href*="twitter"]:hover {
    background: #1DA1F2;
    border-color: #1DA1F2;
}

/* Events Section - Mobile First */
.events-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 2rem;
    padding: 0 10px;
}

/* Tablet and up */
@media (min-width: 600px) {
    .events-grid {
        grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
        padding: 0;
    }
}

/* Desktop */
@media (min-width: 900px) {
    .events-grid {
        grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    }
}

.event-card {
    background: white;
    border-radius: clamp(15px, 3vw, 20px);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    width: 100%;
    max-width: 100%;
}

.event-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.event-image {
    width: 100%;
    height: clamp(180px, 40vw, 220px);
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
}

.event-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
}

/* Mobile: Disable hover effects */
@media (hover: none) {
    .event-card:hover .event-image img {
        transform: none;
    }
}

/* Desktop: Enable hover zoom */
@media (hover: hover) {
    .event-card:hover .event-image img {
        transform: scale(1.05);
    }
}

.event-content {
    padding: clamp(1rem, 3vw, 1.5rem);
    position: relative;
}

.event-date {
    position: absolute;
    top: -25px;
    right: clamp(1rem, 3vw, 1.5rem);
    background: linear-gradient(135deg, #448c7f, #52a08f);
    color: white !important;
    border-radius: 15px;
    padding: 0.8rem 1rem;
    text-align: center;
    box-shadow: 0 5px 15px rgba(68, 140, 127, 0.3);
    z-index: 2;
}

/* Mobile: Smaller date badge */
@media (max-width: 480px) {
    .event-date {
        padding: 0.6rem 0.8rem;
        top: -20px;
    }
}

.event-date .day {
    display: block;
    font-size: clamp(1.4rem, 4vw, 1.8rem);
    font-weight: bold;
    line-height: 1;
    color: white !important;
}

.event-date .month {
    display: block;
    font-size: clamp(0.7rem, 2vw, 0.8rem);
    text-transform: uppercase;
    margin-top: 0.2rem;
    opacity: 0.9;
    color: white !important;
}

.event-info {
    margin-top: 1rem;
}

.event-info h3 {
    font-size: clamp(1.1rem, 4vw, 1.4rem);
    margin-bottom: 0.8rem;
    color: #2c3e50;
    font-weight: 600;
    transition: color 0.3s ease;
    line-height: 1.3;
}

/* Desktop only hover effect */
@media (hover: hover) {
    .event-card:hover .event-info h3 {
        color: #448c7f;
    }
}

.event-info p {
    color: #666666;
    margin-bottom: 1rem;
    line-height: 1.6;
    font-size: clamp(0.9rem, 2.5vw, 1rem);
}

.event-stats {
    display: flex;
    flex-wrap: wrap;
    gap: clamp(0.8rem, 3vw, 1.5rem);
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #f0f0f0;
}

.event-stats span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #448c7f;
    font-size: clamp(0.85rem, 2.2vw, 0.9rem);
    font-weight: 500;
}

.event-stats span i {
    font-size: 1rem;
}

/* Event Details Styles */
.event-details {
    margin: 1rem 0;
    padding: 1rem 0;
    border-top: 1px solid #f0f0f0;
    border-bottom: 1px solid #f0f0f0;
}

.event-details i {
    color: #448c7f;
    margin-right: 0.5rem;
    width: 16px;
}

/* Registration Button */
.event-registration {
    margin-top: 1.5rem;
}

.registration-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #448c7f, #5aa59b);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(68, 140, 127, 0.3);
}

.registration-btn:hover,
.registration-btn:active {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(68, 140, 127, 0.4);
    background: linear-gradient(135deg, #5aa59b, #448c7f);
    color: white;
    text-decoration: none;
}

.registration-btn i {
    font-size: 0.8rem;
}

/* Contact Section */
.contact {
    background: linear-gradient(135deg, rgba(248, 250, 252, 0.9) 0%, rgba(255, 255, 255, 0.9) 100%);
    position: relative;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 80% 20%, rgba(68, 140, 127, 0.05) 0%, transparent 50%),
                radial-gradient(circle at 20% 80%, rgba(45, 125, 45, 0.05) 0%, transparent 50%);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-item i {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #448c7f 0%, #52a08f 50%, #367863 100%);
    color: white;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
    box-shadow: 0 8px 25px rgba(68, 140, 127, 0.3);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.contact-item:hover i {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 12px 35px rgba(45, 125, 45, 0.4);
}

.contact-item h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: #2c3e50;
}

.contact-item p {
    color: #666;
    line-height: 1.6;
}

.contact-form {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 250, 252, 0.95) 100%);
    padding: 3rem;
    border-radius: 25px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1), 0 8px 25px rgba(0, 0, 0, 0.06);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    position: relative;
}

.contact-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(135deg, #448c7f, #52a08f);
    border-radius: 25px 25px 0 0;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #3498db;
}

.submit-btn {
    width: 100%;
    padding: 1.2rem;
    background: linear-gradient(135deg, #448c7f 0%, #52a08f 50%, #367863 100%);
    color: white;
    border: none;
    border-radius: 15px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 25px rgba(68, 140, 127, 0.3);
    position: relative;
    overflow: hidden;
}

.submit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.1) 100%);
    transition: left 0.5s ease;
}

.submit-btn:hover,
.submit-btn:active {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 35px rgba(68, 140, 127, 0.4);
}

.submit-btn:hover::before {
    left: 100%;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #448c7f, #52a08f);
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    margin-bottom: 1rem;
    color: white;
    font-weight: 600;
}

.footer-section p {
    line-height: 1.6;
    margin-bottom: 1rem;
    color: white;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-section ul li a {
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-section ul li a:hover {
    color: #333333;
    transform: translateX(3px);
}

.social-links {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 1rem;
}

.social-links a {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 1.2rem;
    position: relative;
    flex-shrink: 0;
}

.social-links a:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
}

/* Discrete Admin Access */
#admin-access {
    transition: all 0.3s ease;
}

#admin-access:hover {
    color: #448c7f;
    text-shadow: 0 0 5px rgba(68, 140, 127, 0.3);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.05);
    }
}

@keyframes shimmer {
    0% {
        background-position: -200% center;
    }
    100% {
        background-position: 200% center;
    }
}

.shimmer {
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    background-size: 200% 100%;
    animation: shimmer 2s infinite;
}

/* Glass morphism utility */
.glass {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Gradient text utility */
.gradient-text {
    background: linear-gradient(135deg, #448c7f, #52a08f);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .team-grid {
        grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
        gap: 2rem;
    }
    
    .member-photo {
        width: 130px;
        height: 130px;
    }
}

@media (max-width: 768px) {
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .team-member {
        min-height: 380px !important;
        height: 380px;
        display: flex !important;
        flex-direction: column !important;
    }
    
    .member-photo {
        flex-shrink: 0 !important;
        width: 120px !important;
        height: 120px !important;
    }
    
    .member-info {
        flex: 1 !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: flex-start !important;
        padding: 1rem 1.5rem 1.5rem !important;
    }
    
    .team-member h3 {
        font-size: 1.25rem;
        margin-bottom: 0.5rem;
    }
    
    .team-member p {
        margin-bottom: 1rem;
    }
    
    .member-social {
        margin-top: auto;
    }
    
    .page-hero .hero-title {
        font-size: 2.5rem;
    }
    
    .page-hero .hero-subtitle {
        font-size: 1rem;
    }
}

@media (max-width: 600px) {
    .nav-container {
        justify-content: space-between;
        gap: 1rem;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 85px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
        gap: 1rem;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .nav-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content p {
        font-size: 1.1rem;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-stats {
        flex-direction: row;
        justify-content: space-around;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .services-grid,
    .team-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .team-member {
        max-width: 400px;
        margin: 0 auto;
        min-height: 380px !important;
        height: 380px;
        display: flex !important;
        flex-direction: column !important;
    }
    
    .member-photo {
        width: 120px !important;
        height: 120px !important;
        margin-top: 30px;
        flex-shrink: 0 !important;
    }
    
    .member-info {
        flex: 1 !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: flex-start !important;
        padding: 1rem 1.5rem 1.5rem !important;
    }
    
    .team-member h3 {
        font-size: 1.3rem;
        margin-bottom: 0.5rem;
    }
    
    .team-member p {
        margin-bottom: 1rem;
    }
    
    .member-social {
        margin-top: auto;
    }

    .events-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .event-card {
        margin: 0 1rem;
    }

    .event-date {
        top: -20px;
        right: 1rem;
        padding: 0.6rem 0.8rem;
        color: white !important;
    }

    .event-date .day {
        font-size: 1.5rem;
        color: white !important;
    }

    .event-date .month {
        color: white !important;
    }

    .event-card {
        flex-direction: column;
        text-align: center;
    }

    .event-date {
        align-self: center;
    }

    .stats-banner {
        flex-direction: column;
        gap: 1.5rem;
        margin-bottom: 3rem;
    }

    .stat-item {
        min-width: auto;
        padding: 1.5rem;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .gallery-section h3 {
        font-size: 2rem;
        margin-bottom: 2rem;
    }

    .photo-carousel {
        padding: 0 40px;
    }

    .photo-card {
        flex: 0 0 280px;
    }

    .card-image {
        height: 200px;
    }

    .card-content {
        padding: 1rem;
    }

    .card-content h4 {
        font-size: 1.1rem;
    }

    .card-content p {
        font-size: 0.9rem;
    }

    .carousel-btn {
        width: 45px;
        height: 45px;
        font-size: 1.3rem;
    }

    .prev-btn {
        left: 5px;
    }

    .next-btn {
        right: 5px;
    }

    .carousel-indicators {
        margin-top: 2rem;
        gap: 0.8rem;
    }

    .indicator {
        width: 10px;
        height: 10px;
    }

    .slider-container {
        height: 300px;
    }

    .slider-btn {
        width: 40px;
        height: 40px;
        padding: 10px;
        font-size: 1rem;
    }

    .slider-btn.prev {
        left: 10px;
    }

    .slider-btn.next {
        right: 10px;
    }

    .section-title {
        font-size: 2rem;
    }

    section {
        padding: 60px 0;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .about-stats {
        flex-direction: column;
    }

    .nav-container {
        padding: 0 15px;
    }

    .service-card,
    .team-member,
    .contact-form {
        padding: 1.5rem;
    }
}

/* Modal/Popup Header Styling */
.modal-header,
.popup-header,
.lightbox-header,
.gallery-modal-header,
.photo-modal-header {
    background: #448c7f !important;
    background-color: #448c7f !important;
    color: white !important;
}

/* Dynamic modal headers */
div[style*="background"]:has-text("Leadership Summit"),
.modal-title,
.popup-title {
    background: #448c7f !important;
    background-color: #448c7f !important;
    color: white !important;
}

/* Green Button Color Update */
button[style*="background-color: #4ade80"],
button[style*="background: #4ade80"],
.fab-button,
.add-button,
.plus-button,
button[style*="background-color: rgb(74, 222, 128)"],
button[style*="background: rgb(74, 222, 128)"],
.btn-green,
.btn-add {
    background: #448c7f !important;
    background-color: #448c7f !important;
}

/* Floating Action Button */
.fab,
[class*="fab"],
[class*="floating"],
button[style*="border-radius: 50%"][style*="background"],
button[style*="border-radius:50%"][style*="background"] {
    background: #448c7f !important;
    background-color: #448c7f !important;
}
